package com.qualysoft.person;

import com.qualysoft.tasks.JavaDevelopmentTask;
import com.qualysoft.tasks.SolvedTask;

import java.util.Arrays;
import java.util.Set;
import java.util.HashSet;

/**
 * Person with java knowledge
 */
public abstract class JavaNinja extends Human {

    public static final Set<String> FEATURES = new HashSet<String>(
            Arrays.asList(new String[]
                    {"Do Java", "Good english", "Database knowledge", "Multi-threading programming", "Linux/Unix experience"}
            )
    );

    public JavaNinja(String name, String phone, String email) {
        super(name, phone, email);
    }

    @Override
    public boolean needCall() {
        return true;
    }

    public abstract SolvedTask doJavaDevelopment(JavaDevelopmentTask task);

    public abstract void communicateTeamMembers(Set<Human> teamMembers);

}
